﻿using PmSoft;
using PmSoft.Caching;

namespace Modules.System.Settings.Entitys
{
    /// <summary>
    /// 工资月总金额限额设置
    /// </summary>
    [CacheSetting(true)]
    [Serializable]
    public class WageMonthAmountSettings : IEntity
    {
        public WageMonthAmountSettings() { }

        /// <summary>
        /// 当月最大限额
        /// </summary>
        public decimal MaxAmount {  get; set; }

        object IEntity.EntityId => typeof(WageMonthAmountSettings).Name ?? throw new ArgumentNullException("类型全名为空");
    }
}
